package com.dgut.usermodule.entity;

import javax.validation.constraints.NotNull;

public class PermUpdateDTO {
	@NotNull(message="资源id不能为空")
	private Long id;
	@NotNull(message="权限标识符不能为空")
	private String identifier;
	@NotNull(message="资源URL不能为空")
	private String url;
	@NotNull(message="资源名称不能为空")
	private String urlName;
	private String parentTree;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getIdentifier() {
		return identifier;
	}
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUrlName() {
		return urlName;
	}
	public void setUrlName(String urlName) {
		this.urlName = urlName;
	}
	public String getParentTree() {
		return parentTree;
	}
	public void setParentTree(String parentTree) {
		this.parentTree = parentTree;
	}
	
}
